package com.guigu.service;

import cn.dev33.satoken.stp.SaTokenInfo;
import com.guigu.domain.dto.AuthUserDTO;

/**
 * 用户领域service
 *
 * @author: ChickenWing
 * @date: 2023/11/1
 */
public interface AuthUserDomainService {

    /**
     * 注册
     */
    Boolean register(AuthUserDTO authUserDTO);

    /**
     * 登录
     * @param email
     * @param password
     * @return
     */
    SaTokenInfo doLogin(String email, String password);
}

